const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  username: {
    type: String
  },
  password: {
    type: String
  },
  identity: {
    type: Number,
    default: 2
  }, //身份 0学生 1教师 2管理员
})

module.exports = mongoose.model('AdminUser', schema)